package com.example.service.impl;

import com.example.service.CustomService;
import org.springframework.stereotype.Service;

/**
 * @author yexi
 */
@Service
public class CustomServiceImpl implements CustomService {

    static {
        System.out.println("CustomServiceImpl类成功加载进内存");
    }

    @Override
    public String customService() {
        System.out.println("调用业务方法，并查询返回数据库的数据");
        return "返回的数据";
    }
}
